package com.lijin.batchsys.framework.dao.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BatchExecLog {

	private String logId; // 日志ID
	private int batchNo; // 批次号
	private String runningMode; // 执行模式
	private String batchDate; // 批次日期
	private String runningDate; // 执行日期
	private String startTime; // 批次起始时间
	private String endTime; // 批次结束时间
	private String status; // 批次执行状态
	private int currJobNo;
	private int currStepNo;
	private String execMsg;
	private String errMsg;
	private Date recCrtTs;
	private Date recUpdTs;
	

	// 批次日志详情列表
	private List<BatchExecLogDetail> batchExecLogDetails = new ArrayList<BatchExecLogDetail>();
	
	public void addBatchExecLogDetail(BatchExecLogDetail batchExecLogDetail) {
		batchExecLogDetails.add(batchExecLogDetail);
	}

	public int getBatchNo() {
		return batchNo;
	}
	public void setBatchNo(int batchNo) {
		this.batchNo = batchNo;
	}
	public String getRunningMode() {
		return runningMode;
	}
	public void setRunningMode(String runningMode) {
		this.runningMode = runningMode;
	}
	public String getBatchDate() {
		return batchDate;
	}
	public void setBatchDate(String batchDate) {
		this.batchDate = batchDate;
	}
	public List<BatchExecLogDetail> getBatchExecLogDetails() {
		return batchExecLogDetails;
	}
	public void setBatchExecLogDetails(List<BatchExecLogDetail> batchExecLogDetails) {
		this.batchExecLogDetails = batchExecLogDetails;
	}

	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public String getRunningDate() {
		return runningDate;
	}

	public void setRunningDate(String runningDate) {
		this.runningDate = runningDate;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getCurrJobNo() {
		return currJobNo;
	}

	public void setCurrJobNo(int currJobNo) {
		this.currJobNo = currJobNo;
	}

	public int getCurrStepNo() {
		return currStepNo;
	}

	public void setCurrStepNo(int currStepNo) {
		this.currStepNo = currStepNo;
	}

	public String getExecMsg() {
		return execMsg;
	}

	public void setExecMsg(String execMsg) {
		this.execMsg = execMsg;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public Date getRecCrtTs() {
		return recCrtTs;
	}

	public void setRecCrtTs(Date recCrtTs) {
		this.recCrtTs = recCrtTs;
	}

	public Date getRecUpdTs() {
		return recUpdTs;
	}

	public void setRecUpdTs(Date recUpdTs) {
		this.recUpdTs = recUpdTs;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getStartTime() {
		return startTime;
	}

	public String getEndTime() {
		return endTime;
	}
}
